package com.spark.client.controller;

import com.spark.client.feign.IServerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class HomeController {

    @Autowired
    private IServerService serverService;

    @RequestMapping
    public String index() {
        return serverService.say("wjb");
    }
}
